/* 消除父子元素外边距重叠，高度塌陷等问题的类 */
.clearfix::after,
.clearfix::before{
    content: "";
    display: table;
    clear: both;
}
a{
    text-decoration: none;
}
*{
    color: rgb(115, 115, 115);
    padding: 0px;
    margin: 0px;
}
input{
    background-color: transparent;
}
p ,span,div{
    font-family: "Source Han Sans CN";
}
/* 实现左侧回到顶部跳转QQ边界设置 */
/* 使用固定定位将其固定在视口的右下角 */
@keyframes borderchange{
    0%{
        clip: rect(0px,62px,2px,0px);
    }
    12.5%{
        clip: rect(0,2px,2px,0);
    }
    25%{
        clip: rect(0px,2px,115px,0px);
    }
    37.5%{
        clip: rect(113px,2px,115px,0px);
    }
    50%{
        clip: rect(113px,62px,115px,0px);
    }
    62.5%{
        clip: rect(113px,62px,115px,60px);
    }
    75%{
        clip: rect(0px,62px,115px,60px);
    }
    87.5%{
        clip: rect(0px,62px,2px,60px);
    }
    100%{
        clip: rect(0px,62px,2px,0px);
    }
} 
.leftnav-wrapper{
    z-index: 10;
    position: fixed;
    left: 30px;
    bottom: 90px;
    display: flex;
    flex-direction: column;
}
.leftnav-wrapper a{
    margin-bottom: 5px;
    width: 48px;
    height: 48px;
    background-color: rgba(153,174,188,.3);
    transition: all 0.3s ease 0s;
    border-radius: 5px;
}
.leftnav-wrapper a:nth-child(2){
    margin-bottom: 0;
}
.leftnav-wrapper::before,.leftnav-wrapper::after{
    content: "";
    border: 2px solid #3930d8;
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: -7px;
    animation: borderchange 2s   infinite linear;
}
.leftnav-wrapper::after{
    border: 2px solid #ff7c56;
    animation: borderchange 2s 1s  infinite linear;
}
.leftnav-wrapper a:hover{
    background-color: #3930d8;
}
.leftnav-wrapper a i{
    display: block;
    color: #fff;
    font-size: 14px;
    text-align: center;
    line-height: 48px;
    transition: all 0.2s;
}

/* 头部导航栏容器 */
.top-wrapper{
    width: 1200px;
    height: 85px;
    line-height: 85px;
    margin: 0 auto;
}
/* 头部导航栏 */
.top-navigation{
    margin: auto;
    height: 85px;
    position: relative;
    border-bottom: 2px #737373 solid;
    box-shadow: 0px 0 10px #737373;
}
/* 头部导航栏logo设置 */
.top-navigation .logo{
    display: inline-block;
    height: 85px;
    margin-right: 150px;
    margin-top: -6px;
    overflow:hidden;
}
.top-navigation .logo img{
    height: 100px;
}
.search-wrapper{
    position: absolute;
    top: 25px;
    left: 200px;
    height: 34px;
    width: 300px;
    line-height: 34px;
    font-size: 14px;
    border: 1px solid #0f9cf5;
    border-radius: 5px;
}
.search-wrapper i{
    color: #333;
    line-height: 34px;
    display: inline-block;
    padding: 0px 10px;
    padding-right: 15px;
}
.search-wrapper input{
    outline: none;
    border: none;
    background-color: transparent;
}
.search-wrapper button{
    cursor: pointer;
    background-color: #0f9cf5;
    height: 34px;
    line-height: 34px;
    border: 0;
    color: white;
    position: absolute;
    right: 0;
    top: 0;
    padding: 0 20px;
    border-radius: 0 5px 5px 0;
}
.top-navigation .right-navigation{
    float: right;
}
.top-navigation .right-navigation li{
    float: left;
    margin-left: 60px;
    position: relative;
}
.top-navigation .right-navigation li::before{
    position: absolute;
    content: "";
    width: 35px;
    height: 5px;
    left: 40%;
    bottom: 0px ;
    background-color: #fdd155;
    visibility: hidden;
}
.top-navigation .right-navigation li:hover::before{
    visibility: visible;
}
.top-navigation .right-navigation li a{
    display: block;
    color: #737373;
    font-size: 30px;
}
/* 最外层的样式 背景颜色在模式切换的函数钟以内联样式的形式被设定*/
.content-wrapper{
    width: 1920px;
    margin: 0 auto;
}
/* 内容部分的外壳 */
.wrapper{
    width: 1200px;
    margin: 0 auto;
}
/* 主要内容部分的外壳 */
.banner-wrapper{
    margin-top: 20px;
    width: 1200px;
    padding-bottom: 40px;
}
/* 主要内容区 */
.banner{
   width: 1200px;
   margin: 0 auto; 
   position: relative;
}
/* 发表动态者的信息框 */
.info-wrapper{
    width: 100%;
    position: relative;
    margin: 20px 0;
}
/* 对信息框中的照片进行设计 */
.info-wrapper .photo,.info-wrapper .photo img{
    height: 60px;
    width: 60px;
    display: inline-block;
}
/* 设置信息框的文字样式 */
.info-wrapper .info{
    display: inline-block;
    vertical-align: top;
    line-height: 33px;
}
.info-wrapper .info h1{
    font-size: 40px;
}
/* 右侧名片 */
.right-part{
    width: 29%;
    float: right;
}
.id-card{
    box-sizing: border-box;
    width: 100%;
    background-color:#ffe59d;
    padding: 5px 10px;
    position: relative;
    vertical-align: top;
}
.id-card img{
    width: 60%;
}
.id-card .user{
    font-size: 16px;
    position: absolute;
    display: inline-block;
    width: 35%;
    right: 10px;
    line-height: 25px;
}
.id-card .user #id{
    font-size: 19px;
}